/*
 * StaticObjects.java
 *
 * Created on March 5, 2009, 12:54 AM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package regnum_map;

import java.awt.Color;
import libregnummap.Factory;
import libregnummap.PrintableObject;

/**
 *
 * @author alvaro
 */
public class StaticObjects {
    //teleports
    private static PrintableObject[] teleports_alsius = null;
    private static PrintableObject[] teleports_ignis = null;
    private static PrintableObject[] teleports_syrtis = null;
    //epics
    private static PrintableObject[] epics_alsius = null;
    private static PrintableObject[] epics_ignis = null;
    private static PrintableObject[] epics_syrtis = null;
    //elements altars
    private static PrintableObject[] elementsaltars_alsius = null;
    private static PrintableObject[] elementsaltars_ignis = null;
    private static PrintableObject[] elementsaltars_syrtis = null;
    
    public static PrintableObject[] getTeleports(String realm){
        if(realm.equals("alsius") && teleports_alsius == null){
            PrintableObject po[]= new PrintableObject[3];
            //cambiar datos
            /*po[0] = Factory.makeLine(5371, 371, 4426, 522, Color.blue, 2.0f, 1.0f, "regnum_map teleport alsius");
            po[1] = Factory.makeLine(3833, 1020, 4370, 2522, Color.blue, 2.0f, 1.0f, "regnum_map teleport alsius");
            po[2] = Factory.makeLine(4032, 1842, 4203, 3201, Color.blue, 2.0f, 1.0f, "regnum_map teleport alsius");*/
            po[0] = Factory.makeLine(371, 71, 426, 22, Color.blue, 2.0f, 1.0f, "regnum_map teleport alsius");
            po[1] = Factory.makeLine(833, 020, 370, 522, Color.blue, 2.0f, 1.0f, "regnum_map teleport alsius");
            po[2] = Factory.makeLine(032, 842, 203, 201, Color.blue, 2.0f, 1.0f, "regnum_map teleport alsius");
            
            teleports_alsius = po;
            return po;
        }
        if(realm.equals("ignis") && teleports_ignis == null){
            PrintableObject po[]= new PrintableObject[3];
            //cambiar datos
            po[0] = Factory.makeLine(5371, 371, 4426, 522, Color.red, 2.0f, 1.0f, "regnum_map teleport ignis");
            po[1] = Factory.makeLine(3833, 1020, 4370, 2522, Color.red, 2.0f, 1.0f, "regnum_map teleport ignis");
            po[2] = Factory.makeLine(4032, 1842, 4203, 3201, Color.red, 2.0f, 1.0f, "regnum_map teleport ignis");
            /*po[0] = Factory.makeLine(371, 37, 442, 52, Color.red, 2.0f, 1.0f, "regnum_map teleport ignis");
            po[1] = Factory.makeLine(833, 102, 437, 252, Color.red, 2.0f, 1.0f, "regnum_map teleport ignis");
            po[2] = Factory.makeLine(032, 184, 420, 320, Color.red, 2.0f, 1.0f, "regnum_map teleport ignis");*/
            
            teleports_ignis = po;
            return po;
        }
        if(realm.equals("syrtis") && teleports_syrtis == null){
            PrintableObject po[]= new PrintableObject[3];
            //cambiar datos
            /*po[0] = Factory.makeLine(5371, 371, 4426, 522, Color.blue, 2.0f, 1.0f, "teleport alsius");
            po[1] = Factory.makeLine(3833, 1020, 4370, 2522, Color.blue, 2.0f, 1.0f, "teleport alsius");
            po[2] = Factory.makeLine(4032, 1842, 4203, 3201, Color.blue, 2.0f, 1.0f, "teleport alsius");*/
            po[0] = Factory.makeLine(571, 37, 426, 22, Color.green, 2.0f, 1.0f, "regnum_map teleport syrtis");
            po[1] = Factory.makeLine(383, 10, 43, 222, Color.green, 2.0f, 1.0f, "regnum_map teleport syrtis");
            po[2] = Factory.makeLine(402, 42, 423, 201, Color.green, 2.0f, 1.0f, "regnum_map teleport syrtis");
            
            teleports_syrtis = po;
            return po;
        }
        return null;
    }
    
    public static PrintableObject[] getEpicMobs(String realm){
        if(realm.equals("alsius") && epics_alsius == null){
        }
        if(realm.equals("ignis") && epics_ignis == null){
        }
        if(realm.equals("syrtis") && epics_syrtis == null){
        }
        return null;
    }
    
    public static PrintableObject[] getElementsAltars(String realm){
        if(realm.equals("alsius") && elementsaltars_alsius == null){
        }
        if(realm.equals("ignis") && elementsaltars_ignis == null){
        }
        if(realm.equals("syrtis") && elementsaltars_syrtis == null){
        }
        return null;
    }
    
}
